package 牛客.剑指OFFER;

public class 数值的整数次方 {
    public static void main(String[] args){

    }
    public double Power(double base, int exponent) {
        if(exponent==0) return 1;
        if(base==0) return 0;
        return Math.pow(base,exponent);
    }
}
